Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNG - Add Who's that pokemon (hard mode) #42

Merged
merged 5 commits into from
Jan 16, 2021
Merged

Conversation

memeraki
Copy link
Collaborator

No description provided.

Comment on lines 34 to 39
} else if (mode === WHO_IS_THAT_POKEMON_HARD_MODE) {
return shuffleAnswers({
question: answersObj[this.correctAnswerIndex].photoUrl ,
answers: [ answersObj[0].name, answersObj[1].name, answersObj[2].name, answersObj[3].name ],
correctAnswer: { value: answersObj[this.correctAnswerIndex].name, index: this.correctAnswerIndex}
})
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this code the same as in first mode?
you can use mode === X || mode === Y 😌

lukaszdutka
lukaszdutka previously approved these changes Jan 16, 2021
Copy link
Owner

@lukaszdutka lukaszdutka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tremendous work! Really cool ❤️ 🏆

Copy link
Owner

@lukaszdutka lukaszdutka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 😌

@lukaszdutka lukaszdutka merged commit 3c2a31c into dev Jan 16, 2021
@lukaszdutka lukaszdutka deleted the MNG-X-Add-3rd-Game-Mode branch January 16, 2021 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants